# -*- coding: utf-8; mode: snippet -*-
# name: fprintf(vector)
# key: lo
# contributor: Chen Bin <chenbin DOT sh AT gmail>
# --
fprintf(['${1:object}=[', repmat('%g, ', 1, numel(${1:$(yas/substr yas-text "[^ ]*")})-1), '%g]\n'], ${1:$(yas/substr yas-text "[^ ]*")});